package Content;
/**
 * TCSS 360 - Winter 2014
 * TESK Software
 */

/**
 * Represents an author object.
 * 
 * @author Emily Linniman
 * @version March 2, 2014
 *
 */
public class Author extends User {

	/** A string representing the author. */
	private static final String AUTHOR = "Author";
	
	/**
	 * Constructs an author object. 
	 * 
	 * @param the_name the name of the author
	 * @param the_password the password of the author
	 * @param the_role the role of the user
	 */
	public Author(String the_name, String the_password, String the_role) {
		super(the_name, the_password, AUTHOR);
	}

	/**
	 * Uploads a paper to the conference/database.
	 * @param the_paper the paper to be uploaded
	 */
	public void uploadPaper(Paper the_paper) {
		//add paper object to data base
	}
	
	/** 
	 * Downloads a paper from the conference/database.
	 * 
	 * @param paperName the name of the paper to be downloaded
	 * @param authorName the name of the author of the paper
	 * @return the paper from the conference/data base
	 */
	public Paper downloadPaper(String paperName, String authorName) {
		// return paper object from data base
		return null;
	}
	
	/**
	 * Deletes a paper from the conference/data base
	 * @param paperName the paper to be deleted.
	 */
	public void delete(String paperName) {
		//delete paper object from data base
	}
}
